IdeaBlade DevForce 2010 Help Reference
Filter Property
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityListManager<T> Class : Filter Property



Gets or sets the System.Predicate used to set filtering criteria for the list(s).

Syntax

Visual Basic (Declaration) 
Public Property Filter As Predicate(Of T)
Visual Basic (Usage)Copy Code
Dim instance As EntityListManager(Of T)
Dim value As Predicate(Of T)
 
instance.Filter = value
 
value = instance.Filter
C# 
public Predicate<T> Filter {get; set;}
C++/CLI 
public:
property Predicate<T^>^ Filter {
   Predicate<T^>^ get();
   void set (    Predicate<T^>^ value);
}

Remarks

The filter should return true if the supplied Entity belongs in the list(s) managed.

Setting or resetting the filter does not automatically refresh the list(s).

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.